package org.song.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.song.model.dto.ViewDto;
import org.song.model.vo.View;
import org.springframework.lang.NonNull;

import java.util.List;

@Mapper
public interface ViewMapper {
    
    List<View> listView(@NonNull ViewDto viewDto);
    
    int deleteView( @NonNull View blog);

    int insertView( @NonNull View blog);

    int updateView( @NonNull View blog);
    
}
